package com.galgram.project.service.impl;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.galgram.project.entity.Teacher;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.galgram.project.mapper.FxTeacherMapper;
import com.galgram.project.domain.FxTeacher;
import com.galgram.project.service.IFxTeacherService;

/**
 * 教师Service业务层处理
 *
 * @author galgram
 * @date 2024-11-20
 */
@Service
public class FxTeacherServiceImpl extends ServiceImpl<FxTeacherMapper, FxTeacher> implements IFxTeacherService {
    @Autowired
    private FxTeacherMapper teacherMapper;

    @Override
    public List<FxTeacher> selectFxTeacherList(FxTeacher fxTeacher) {
        return baseMapper.selectFxTeacherList(fxTeacher);
    }

    @Override
    public List<Teacher> selectTeacherListByDetailId(Long detailId) {
        return teacherMapper.selectTeacherListByDetailId(detailId);
    }

    @Override
    public List<Teacher> getTeacherList(Teacher teacher) {
        return baseMapper.getTeacherList(teacher);
    }

}
